import type { RouteRecordRaw } from "vue-router";
import type { CategoryData } from "@/api/product/attr/type";
//定义用户小仓库类型
export interface UserState {
  token: string | null;
  menuRoute: RouteRecordRaw[];
  username: string;
  avatar: string;
  usePermissions: any[];
}
//定义分类小仓库类型
export interface CategoryState {
  category1List: CategoryData[];
  category2List: CategoryData[];
  category3List: CategoryData[];
  category1Id: undefined | number;
  category2Id: undefined | number;
  category3Id: undefined | number;
  isDisabled: boolean;
}
